package com.cx.service;

import com.cx.pojo.Body;
import com.github.pagehelper.PageInfo;

public interface BodyService {
    //添加
    int insert(Body body);

    //修改
    int updateByPrimaryKey(Body body);

    //删除
    int deleteByPrimaryKey(Integer bodyId);

    //查询
    Body selectByPrimaryKey(Integer bodyId);

    //分页
    PageInfo<Body> selectAllBody(Body body);
}
